<#list menus as item>  
insert into didi_menu_info (id,code,logo,sort,path,parent_id,name,identity_code) values ('${item.id}', '${item.code}', '${item.logo}', '${item.sort}', <#if item.path != "NULL">'</#if>${item.path}<#if item.path != "NULL">'</#if>, <#if item.path != "NULL">'</#if>${item.parent_id}<#if item.path != "NULL">'</#if>, '${item.name}', '${item.identity_id}');
</#list>
<#list funcs as item>  
INSERT INTO didi_function_info (id, NAME, CODE, sort) values ('${item.id}', '${item.name}', '${item.code}', '${item.sort}');
</#list> 
<#list menus as item>  
	<#if item.functions??>
		<#assign im = item.functions />
		<#list im as item2>  
INSERT INTO didi_menu_function_rec (menu_id, function_id) VALUES ('${item.id}', '${item2}');
		</#list> 
	</#if>
</#list>   